<!doctype html>



  


<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />















  
  
  <link href="/blog/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/blog/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/blog/css/main.css?v=5.1.0" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="jenkins," />








  <link rel="shortcut icon" type="image/x-icon" href="/blog/favicon.ico?v=5.1.0" />






<meta name="description" content="jekins安装插件下载失败 为了不影响使用，则可以刷新页面，跳过getting startted这一步。后面通过手动安装插件的方式安装失败的插件。jenkins版本：2.32.3jenkings插件下载地址：http://updates.jenkins-ci.org/download/plugins/jackson2-api/默认下载最新插件，如果jenkins版本不是最新，则可能导致插件下载失">
<meta name="keywords" content="jenkins">
<meta property="og:type" content="article">
<meta property="og:title" content="jenkins安装采坑记">
<meta property="og:url" content="https://gitee.com/shuhao/2018/07/10/jenkins安装采坑记/index.html">
<meta property="og:site_name" content="Niki">
<meta property="og:description" content="jekins安装插件下载失败 为了不影响使用，则可以刷新页面，跳过getting startted这一步。后面通过手动安装插件的方式安装失败的插件。jenkins版本：2.32.3jenkings插件下载地址：http://updates.jenkins-ci.org/download/plugins/jackson2-api/默认下载最新插件，如果jenkins版本不是最新，则可能导致插件下载失">
<meta property="og:locale" content="zh-Hans">
<meta property="og:image" content="https://gitee.com/blog/images/jenkins/upload_plugin_error.png">
<meta property="og:image" content="https://gitee.com/blog/images/jenkins/ssh_config_1.png">
<meta property="og:image" content="https://gitee.com/blog/images/jenkins/ssh_config_2.png">
<meta property="og:image" content="https://gitee.com/blog/images/jenkins/ssh_config_4.png">
<meta property="og:image" content="https://gitee.com/blog/images/jenkins/ssh_config_5.png">
<meta property="og:image" content="https://gitee.com/blog/images/jenkins/ssh_config_5.png">
<meta property="og:image" content="https://gitee.com/blog/images/jenkins/git_config_1.png">
<meta property="og:image" content="https://gitee.com/blog/images/jenkins/git_config_2.png">
<meta property="og:updated_time" content="2018-08-01T00:51:34.516Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="jenkins安装采坑记">
<meta name="twitter:description" content="jekins安装插件下载失败 为了不影响使用，则可以刷新页面，跳过getting startted这一步。后面通过手动安装插件的方式安装失败的插件。jenkins版本：2.32.3jenkings插件下载地址：http://updates.jenkins-ci.org/download/plugins/jackson2-api/默认下载最新插件，如果jenkins版本不是最新，则可能导致插件下载失">
<meta name="twitter:image" content="https://gitee.com/blog/images/jenkins/upload_plugin_error.png">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/blog/',
    scheme: 'Mist',
    sidebar: {"position":"right","display":"post","offset":12,"offset_float":0,"b2t":false,"scrollpercent":false},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://gitee.com/shuhao/2018/07/10/jenkins安装采坑记/"/>





  <title> jenkins安装采坑记 | Niki </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  





  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?cb9f0585e406f878cb2f29c89ad3cdb7";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>










  
  
    
  

  <div class="container one-collumn sidebar-position-right page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/blog/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Niki</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">天道酬勤</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/blog/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/blog/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-categories"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/blog/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/blog/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
    <link itemprop="mainEntityOfPage" href="https://gitee.com/shuhao/blog/2018/07/10/jenkins安装采坑记/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Fang ShuHao">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/blog/images/head.jpg">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Niki">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                jenkins安装采坑记
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2018-07-10T08:51:44+08:00">
                2018-07-10
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          

          

        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <h2 id="jekins安装"><a href="#jekins安装" class="headerlink" title="jekins安装"></a>jekins安装</h2><h3 id="插件下载失败"><a href="#插件下载失败" class="headerlink" title="插件下载失败"></a>插件下载失败</h3><img src="/blog/images/jenkins/upload_plugin_error.png">
<p>为了不影响使用，则可以刷新页面，跳过getting startted这一步。后面通过手动安装插件的方式安装失败的插件。<br>jenkins版本：2.32.3<br>jenkings插件下载地址：<a href="http://updates.jenkins-ci.org/download/plugins/jackson2-api/" target="_blank" rel="external">http://updates.jenkins-ci.org/download/plugins/jackson2-api/</a><br>默认下载最新插件，如果jenkins版本不是最新，则可能导致插件下载失败。因此只需要更新jenkins即可。<br>下载最新的jenkins.war，暂停当前的jenkins服务，删除原来的jenkins.war，重新启动新的jenkins.war即可<br><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">java -jar jenkins.war --httpPort=8080</span><br></pre></td></tr></table></figure></p>
<h3 id="ssh配置失败"><a href="#ssh配置失败" class="headerlink" title="ssh配置失败"></a>ssh配置失败</h3><h4 id="公共配置"><a href="#公共配置" class="headerlink" title="公共配置"></a>公共配置</h4><ol>
<li><p>在jenkins所在的机器生产ssh秘钥</p>
<figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">ssh-keygen -t rsa</span><br></pre></td></tr></table></figure>
</li>
<li><p>将jenkins所在机器生产的ssh公钥 /root/.ssh/id.rsa.pub 拷贝到需要访问机器/root/.ssh/authorized_keys文件中。没有新建</p>
<figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">cat id.rsa.pub &gt;&gt; authorized_keys</span><br><span class="line">scp authorized_keys niki@192.168.56.102 /root/.ssh/authorized_keys</span><br></pre></td></tr></table></figure>
</li>
<li><p>配置ssh选项</p>
<img src="/blog/images/jenkins/ssh_config_1.png">
<img src="/blog/images/jenkins/ssh_config_2.png">
<p>Passphrase：生成私钥时的密码，没有输入可以为空<br>path to  key： jenkins所在机器生产的私要id.rsa路径<br>key：jenkins所在机器生产的私钥。以上两者选一</p>
</li>
</ol>
<p><strong>注意</strong></p>
<ol>
<li>在进行scp的时候，确保登录远程服务的用户对目录拥有权限</li>
<li>配置是，确保ssh服务都开启</li>
</ol>
<h4 id="Use-password-authentication-or-use-a-different-key"><a href="#Use-password-authentication-or-use-a-different-key" class="headerlink" title="Use password authentication, or use a different key"></a>Use password authentication, or use a different key</h4><p>使用公共配置在内网机器中总是不成功！可以使用这种方式来配置<br>在高级选项中，选中 Use password authentication, or use a different key<br><img src="/blog/images/jenkins/ssh_config_4.png"><br><img src="/blog/images/jenkins/ssh_config_5.png"><br>只需要输入连接服务器的用户和密码则可以连接成功</p>
<p><strong>在配置jenkins推送文件的 远程目录时需要注意，配置的ssh用户一定要对该目录拥有权限，否则jenkins构建后，文件因为权限无法上传到指定目录，而导致构建出错</strong><br><img src="/blog/images/jenkins/ssh_config_5.png"></p>
<h3 id="job配置"><a href="#job配置" class="headerlink" title="job配置"></a>job配置</h3><h4 id="源码管理"><a href="#源码管理" class="headerlink" title="源码管理"></a>源码管理</h4><p>配置完项目的Git仓库目录之后，在Credentials处点击add进行添加<br>添加权限时，可以添加gitlab服务器上，对源码拥有权限的用户名和密码。也可以通过ssh秘钥方式来配置，这里采用用户名和密码的方式进行配置。<br><img src="/blog/images/jenkins/git_config_1.png"><br><img src="/blog/images/jenkins/git_config_2.png"></p>
<h2 id="安装gitlab"><a href="#安装gitlab" class="headerlink" title="安装gitlab"></a>安装gitlab</h2><p><a href="https://blog.csdn.net/discoverer100/article/details/51814171" target="_blank" rel="external">https://blog.csdn.net/discoverer100/article/details/51814171</a><br><a href="https://www.cnblogs.com/m2ez/p/7063606.html" target="_blank" rel="external">https://www.cnblogs.com/m2ez/p/7063606.html</a><br><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">/etc/gitlab/gitlab.rb,将external_url = &apos;http://git.example.com&apos;修改为自己的域名地址：http://example.com，默认为80端口，如要使用其他端口后面加上端口号，如：http://127.0.0.1:8080。</span><br></pre></td></tr></table></figure></p>
<h3 id="修改gitlab仓库地址"><a href="#修改gitlab仓库地址" class="headerlink" title="修改gitlab仓库地址"></a>修改gitlab仓库地址</h3><p>打开/etc/gitlab/gitlab.rb文件，进行设置。设置之后需要执行<br><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">sudo gitlab-ctl reconfigure</span><br></pre></td></tr></table></figure></p>
<p>使得修改配置生效</p>
<h3 id="修改gitlab访问地址"><a href="#修改gitlab访问地址" class="headerlink" title="修改gitlab访问地址"></a>修改gitlab访问地址</h3><p>当访问出现502 Whoops, GitLab is taking too much time to respond. 时通过查看日志<br><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">sudo gitlab-ctl tail unicorn</span><br></pre></td></tr></table></figure></p>
<p>发现如下问题：<br>1、端口冲突<br>这个是因为在直线设置gitlab仓库的时候，监听的端口设置为和访问gitlab端口一样，导致端口冲突，无法访问gitlab。<br><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">ERROR -- : adding listener failed addr=127.0.0.1:8090 (in use)</span><br></pre></td></tr></table></figure></p>
<p>2、这个问题<br><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">ERROR -- : worker=0 PID:1666 timeout (61s &gt; 60s), killing</span><br></pre></td></tr></table></figure></p>
<p>这个问题是因为配置文件中端口超时时间设置太小，在/etc/gitlab/gitlab.rb中找到配置并修改 unicorn[‘worker_timeout’] = 300</p>
<h3 id="配置gitlab的webhook"><a href="#配置gitlab的webhook" class="headerlink" title="配置gitlab的webhook"></a>配置gitlab的webhook</h3><p>在配置webhook，向jenkins发送构建请求时出错<br><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">url is blocked: requests to the local newwork art not allowed</span><br></pre></td></tr></table></figure></p>
<p><a href="https://blog.csdn.net/xukangkang1hao/article/details/80756085" target="_blank" rel="external">可参考这篇文章解决</a></p>
<h3 id="卸载gitlab"><a href="#卸载gitlab" class="headerlink" title="卸载gitlab"></a>卸载gitlab</h3><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">sudo gitlab-ctl uninstall</span><br><span class="line">sudo rpm -e gitlab-ce</span><br><span class="line">find / -name gitlab|xargs rm -rf</span><br></pre></td></tr></table></figure>
<h2 id="安装Tomact"><a href="#安装Tomact" class="headerlink" title="安装Tomact"></a>安装Tomact</h2><p>使用apt源安装<br><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">sudo apt-get install tomcat8 tomcat8-docs tomcat8-examples tomcat8-admin</span><br><span class="line"></span><br><span class="line">#当然也可以只安装tomcat8</span><br></pre></td></tr></table></figure></p>
<p>安装完成后的配置文件放置在/var/lib/。</p>
<p>服务启动：</p>
<ul>
<li>启动<br>service tomcat8 start</li>
<li>状态<br>service tomcat8 status</li>
<li><p>停止<br>service tomcat8 stop</p>
</li>
<li><p>配置管理员权限：</p>
<figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">sudo vim /var/lib/tomcat8/conf/tomcat-users.xml</span><br><span class="line">&lt;role rolename=&quot;manager-gui&quot;/&gt;</span><br><span class="line">&lt;role rolename=&quot;admin-gui&quot;/&gt;</span><br><span class="line">&lt;user username=&quot;root&quot; password=&quot;123456&quot; roles=&quot;manager-gui,admin-gui&quot;/&gt;</span><br></pre></td></tr></table></figure>
</li>
</ul>
<h3 id="卸载tomcat"><a href="#卸载tomcat" class="headerlink" title="卸载tomcat"></a>卸载tomcat</h3><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">sudo apt-get autoremove tomcat8</span><br></pre></td></tr></table></figure>
<p><a href="https://www.cnblogs.com/lidong94/p/7427923.html" target="_blank" rel="external">jenkins实现自动集成打包发布</a></p>
<p><a href="https://blog.csdn.net/qq_36467463/article/details/78283874" target="_blank" rel="external">ubuntu16安装gitlab</a><br><a href="https://www.cnblogs.com/m2ez/p/7063606.html" target="_blank" rel="external">ubuntu搭建gitlab</a></p>

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>


    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/blog/tags/jenkins/" rel="tag"># jenkins</a>
          
        </div>
      

      
        
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/blog/2018/07/05/VisualVM无法检测到本地java程序/" rel="next" title="VisualVM无法检测到本地java程序">
                <i class="fa fa-chevron-left"></i> VisualVM无法检测到本地java程序
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/blog/2018/08/01/CPU缓存一致性协议/" rel="prev" title="CPU缓存一致性协议MESI">
                CPU缓存一致性协议MESI <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
    </div>
  </div>

          
          </div>
          


          
  <div class="comments" id="comments">
    
      <div id="lv-container" data-id="city" data-uid="MTAyMC8zNjY5NS8xMzIzMA=="></div>
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/blog/images/head.jpg"
               alt="Fang ShuHao" />
          <p class="site-author-name" itemprop="name">Fang ShuHao</p>
           
              <p class="site-description motion-element" itemprop="description"></p>
          
        </div>
        <nav class="site-state motion-element">
        
          
            <div class="site-state-item site-state-posts">
              <a href="/blog/archives">
                <span class="site-state-item-count">135</span>
                <span class="site-state-item-name">日志</span>
              </a>
            </div>
          

          
            <div class="site-state-item site-state-categories">
              <a href="/blog/categories">
                <span class="site-state-item-count">35</span>
                <span class="site-state-item-name">分类</span>
              </a>
            </div>
          

          
            <div class="site-state-item site-state-tags">
              <a href="/blog/tags">
                <span class="site-state-item-count">93</span>
                <span class="site-state-item-name">标签</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
        </div>

        
        

        
        

        


      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#jekins安装"><span class="nav-number">1.</span> <span class="nav-text">jekins安装</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#插件下载失败"><span class="nav-number">1.1.</span> <span class="nav-text">插件下载失败</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#ssh配置失败"><span class="nav-number">1.2.</span> <span class="nav-text">ssh配置失败</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#公共配置"><span class="nav-number">1.2.1.</span> <span class="nav-text">公共配置</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#Use-password-authentication-or-use-a-different-key"><span class="nav-number">1.2.2.</span> <span class="nav-text">Use password authentication, or use a different key</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#job配置"><span class="nav-number">1.3.</span> <span class="nav-text">job配置</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#源码管理"><span class="nav-number">1.3.1.</span> <span class="nav-text">源码管理</span></a></li></ol></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#安装gitlab"><span class="nav-number">2.</span> <span class="nav-text">安装gitlab</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#修改gitlab仓库地址"><span class="nav-number">2.1.</span> <span class="nav-text">修改gitlab仓库地址</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#修改gitlab访问地址"><span class="nav-number">2.2.</span> <span class="nav-text">修改gitlab访问地址</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#配置gitlab的webhook"><span class="nav-number">2.3.</span> <span class="nav-text">配置gitlab的webhook</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#卸载gitlab"><span class="nav-number">2.4.</span> <span class="nav-text">卸载gitlab</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#安装Tomact"><span class="nav-number">3.</span> <span class="nav-text">安装Tomact</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#卸载tomcat"><span class="nav-number">3.1.</span> <span class="nav-text">卸载tomcat</span></a></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2019</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Fang ShuHao</span>
</div>


<div class="powered-by">
  由 <a class="theme-link" href="https://hexo.io">Hexo</a> 强力驱动
</div>

<div class="theme-info">
  主题 -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Mist
  </a>
</div>


        

        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    
    
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  




  
  <script type="text/javascript" src="/blog/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/blog/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/blog/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/blog/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/blog/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/blog/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/blog/js/src/utils.js?v=5.1.0"></script>

  <script type="text/javascript" src="/blog/js/src/motion.js?v=5.1.0"></script>



  
  

  
  <script type="text/javascript" src="/blog/js/src/scrollspy.js?v=5.1.0"></script>
<script type="text/javascript" src="/blog/js/src/post-details.js?v=5.1.0"></script>



  


  <script type="text/javascript" src="/blog/js/src/bootstrap.js?v=5.1.0"></script>



  



  




	





  





  





  
    <script type="text/javascript">
      (function(d, s) {
        var j, e = d.getElementsByTagName(s)[0];
        if (typeof LivereTower === 'function') { return; }
        j = d.createElement(s);
        j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
        j.async = true;
        e.parentNode.insertBefore(j, e);
      })(document, 'script');
    </script>
  



  
  

  

  

  

  


  

</body>
</html>
